package com.hdsx.jxcsxm.log.strategy.impl;

import com.hdsx.jxcsxm.log.bean.SysLog;
import com.hdsx.jxcsxm.log.strategy.IOperatStrategy;
import com.hdsx.jxcsxm.log.type.BusinessType;
import com.hdsx.jxcsxm.log.util.CommonUtils;
import com.opensymphony.xwork2.ActionInvocation;

import javax.servlet.http.HttpServletRequest;

/**
 * @author 占贤银
 * time 2023/10/19 11:25
 * description 生命之灯因热情而点燃，生命之舟因拼搏而前行
 */
public class DeleteXmOperatStrategy implements IOperatStrategy {
    @Override
    public SysLog operate(ActionInvocation invocation, HttpServletRequest request) {
        return CommonUtils.getCommonSyslog_insert(invocation, request, BusinessType.DELETE_TYPE);
    }
}
